using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;


namespace CroCommando
{
    /// <summary>
    /// This is a game component that implements IUpdateable.
    /// </summary>
    public class InGame : Microsoft.Xna.Framework.DrawableGameComponent
    {
        CroCoPlayer croCoPlayer;
        Texture2D playerHead;
        Texture2D playerBody;

        Weapon basicGun;
        Texture2D basicGunSprite;
        public InGame(Game game) : base(game)
        {
            
            // TODO: Construct any child components here
        }

        /// <summary>
        /// Allows the game component to perform any initialization it needs to before starting
        /// to run.  This is where it can query for any required services and load content.
        /// </summary>
        public override void Initialize()
        {
            //basicGun = new Weapon(basicGunSprite, new Vector2(0,0),Color.White, new Point(20,20),"Gun",10,10,2,"Gun_Bang");
            //croCoPlayer = new CroCoPlayer("Croco", playerHead, playerBody, basicGun);

            base.Initialize();
        }

        protected override void LoadContent()
        {
            //playerHead = Game.Content.Load<Texture2D>("Images/SpriteSheet/CroCommando");
            //playerBody = Game.Content.Load<Texture2D>("Images/SpriteSheet/CroCommando");
            //basicGunSprite = Game.Content.Load<Texture2D>("Images/SpriteSheet/BasicGun");

            base.LoadContent();
        }

        /// <summary>
        /// Allows the game component to update itself.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        public override void Update(GameTime gameTime)
        {


            base.Update(gameTime);
        }

        public override void Draw(GameTime gameTime)
        {


            base.Draw(gameTime);
        }
    }
}
